#!/usr/bin/env node

import { Num } from './07-share.js';

const n1 = new Num();
const n2 = new Num();

n1.add();
n1.add();

console.log('After n1.add() twice:', n1.getCount(), n2.getCount());

n2.add();

console.log('After n2.add() once:', n1.getCount(), n2.getCount());